﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="F602_Tien_do_Du_an.aspx.cs" Inherits="DanhMuc_F602_Tien_do_Du_an" %>
<%@ Register assembly="eWorld.UI" namespace="eWorld.UI" tagprefix="ew" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <table cellspacing="0" cellpadding="2" style="width:100%;" class="cssTable" border="0">
<!-- Tìm kiếm công việc dự án -->
    <tr>
		<td class="cssPageTitleBG" colspan="4">
		    <asp:label id="lbl_loc_du_lieu_tien_do_du_an" runat="server" CssClass="cssPageTitle" 
                Text="Lọc tiến độ dự án"/>
		</td>
	</tr>
    <tr>
        <td align="right">
            <asp:label id="lbl_ten_du_an_s" CssClass="cssManField" runat="server" Text="Tên dự án"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_ten_du_an_s" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px"  >
                    </asp:DropDownList>
        </td>
        <td align="right">
            <asp:label id="lbl_ten_thanh_vien_s" CssClass="cssManField" runat="server" Text="Tên thành viên"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_ten_thanh_vien_s" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px"  >
                    </asp:DropDownList>
        </td>
    </tr>
     <tr>
         <td align="right">
            <asp:label id="lbl_trang_thai_s" CssClass="cssManField" runat="server" Text="Trạng thái"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_trang_thai_s" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px"  >
                    </asp:DropDownList>
        </td> 
        <td align="right">
             <asp:label id="lbl_thang_ket_thuc_s" CssClass="cssManField" runat="server" Text="Tháng bắt kết thúc"/>
        </td>
        <td>
        
            <asp:DropDownList id="m_cbo_thang_ket_thuc_da" runat="server" 
                        CssClass="cssDorpdownlist"  >
                        <asp:ListItem Selected="True" Value="0">Tất cả</asp:ListItem>
                        <asp:ListItem Value="1">1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>
        
        </td>
    </tr>
    <tr>
            <td colspan="4" align="center">
                <asp:button id="m_btn_xem_toan_bo" accessKey="v" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Xem toàn bộ (v)" Height="22px" />&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
               <asp:button id="m_btn_loc_du_lieu" accessKey="l" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Lọc dữ liệu(l)" 
                                    Height="23px"/> &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
			   <asp:button id="m_btn_xuat_excel" accessKey="x" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Xuất Excel (x)" Height="22px"/>
                        
            </td>
    </tr>
<!-- Cập nhật tiến độ dự án -->
    <tr>
		<td class="cssPageTitleBG" colspan="4">
		    <asp:label id="lbl_tien_do_du_an" runat="server" CssClass="cssPageTitle" 
                Text="Quản lý Công việc - Tiến độ"/>
		</td>
	</tr>
    <tr>
        <td align="right">
            <asp:label id="lbl_ten_du_an" CssClass="cssManField" runat="server" Text="Tên dự án"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_ten_du_an" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px"  AutoPostBack="true">
                    </asp:DropDownList>
        </td>
        <td align="right">
            <asp:label id="lbl_ten_thanh_vien" CssClass="cssManField" runat="server" Text="Tên thành viên"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_ten_thanh_vien" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px"  >
                    </asp:DropDownList>
        </td>
    </tr>
    <tr>
         <td align="right">
            <asp:label id="lbl_cong_viec" CssClass="cssManField" runat="server" Text="Công việc"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_cong_viec" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px" Enabled="false"  >
                    </asp:DropDownList>
        </td> 
        <td align="right">
             <asp:label id="lbl_ngay_bat_dau" CssClass="cssManField" runat="server" Text="Ngày bắt đầu"/>
        </td>
        <td>
                <ew:CalendarPopup ID="txt_ngay_bat_dau" runat="server" 
                        ControlDisplay="TextBoxImage" GoToTodayText="Hôm nay:" ImageUrl="~/Images/cal.gif"
                        Nullable="True" NullableLabelText="" 
                        ShowGoToToday="True" Width="50%" SelectedDate="" Text="" Culture="vi-VN" 
                        DisableTextboxEntry="False">
                        <weekdaystyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <weekendstyle backcolor="LightGray" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <offmonthstyle backcolor="AntiqueWhite" 
                            font-names="Verdana,Helvetica,Tahoma,Arial" font-size="XX-Small" 
                            forecolor="Gray" />
                        <selecteddatestyle backcolor="Yellow" 
                            font-names="Verdana,Helvetica,Tahoma,Arial" font-size="XX-Small" 
                            forecolor="Black" />
                        <monthheaderstyle backcolor="Yellow" 
                            font-names="Verdana,Helvetica,Tahoma,Arial" font-size="XX-Small" 
                            forecolor="Black" />
                        <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                            Font-Size="XX-Small" ForeColor="Black" />
                        <cleardatestyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <gototodaystyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <TodayDayStyle BackColor="LightGoldenrodYellow" 
                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                            ForeColor="Black" />
                        <holidaystyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                    </ew:CalendarPopup>
		</td>
    </tr>
    <tr>
         <td align="right">
            <asp:label id="lbl_trang_thai" CssClass="cssManField" runat="server" Text="Trạng thái"/>
        </td>
        <td>
            <asp:DropDownList id="m_cbo_trang_thai" runat="server" 
                        CssClass="cssDorpdownlist" Height="25px" Width="300px"  >
                    </asp:DropDownList>
        </td> 
        <td align="right">
             <asp:label id="lbl_ngay_ket_thuc" CssClass="cssManField" runat="server" Text="Ngày bắt kết thúc"/>
        </td>
        <td>
                 <ew:CalendarPopup ID="txt_ngay_ket_thuc" runat="server" 
                        ControlDisplay="TextBoxImage" GoToTodayText="Hôm nay:" ImageUrl="~/Images/cal.gif"
                        Nullable="True" NullableLabelText="" 
                        ShowGoToToday="True" Width="50%" SelectedDate="" Text="" Culture="vi-VN" 
                        DisableTextboxEntry="False">
                        <weekdaystyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <weekendstyle backcolor="LightGray" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <offmonthstyle backcolor="AntiqueWhite" 
                            font-names="Verdana,Helvetica,Tahoma,Arial" font-size="XX-Small" 
                            forecolor="Gray" />
                        <selecteddatestyle backcolor="Yellow" 
                            font-names="Verdana,Helvetica,Tahoma,Arial" font-size="XX-Small" 
                            forecolor="Black" />
                        <monthheaderstyle backcolor="Yellow" 
                            font-names="Verdana,Helvetica,Tahoma,Arial" font-size="XX-Small" 
                            forecolor="Black" />
                        <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                            Font-Size="XX-Small" ForeColor="Black" />
                        <cleardatestyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <gototodaystyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                        <TodayDayStyle BackColor="LightGoldenrodYellow" 
                            Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                            ForeColor="Black" />
                        <holidaystyle backcolor="White" font-names="Verdana,Helvetica,Tahoma,Arial" 
                            font-size="XX-Small" forecolor="Black" />
                    </ew:CalendarPopup>
		</td>
    </tr>
    <tr>
        <td align="right">
             <asp:label id="lbl_he_so" CssClass="cssManField" runat="server" Text="Hệ số"/>
        </td>
        <td>
			    <asp:textbox id="txt_he_so" CssClass="cssTextBox"  runat="server"  Width="30%" />
		</td>
        <td align="right">
             <asp:label id="lbl_ghi_chu" CssClass="cssManField" runat="server" Text="Ghi chú"/>
        </td>
        <td rowspan="2">
			    <asp:textbox id="txt_ghi_chu" TextMode="MultiLine" CssClass="cssTextBox"  runat="server"  Width="83%" />
		</td>
    </tr>
    <tr>
        <td></td>
        <td>
        <asp:button id="btn_them" accessKey="v" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Thêm mới" Height="22px" />&nbsp;
               <asp:button id="btn_cap_nhat" accessKey="l" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Cập nhật" 
                                    Height="23px" Visible="false"/> &nbsp;
			   <asp:button id="btn_xoa_trang" accessKey="x" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Xóa trắng" Height="22px" />
        </td>
    </tr>
<!-- Lưới -->
    <tr>
		<td class="cssPageTitleBG" colspan="4">
		    <asp:label id="lbl_kq_loc_du_lieu" runat="server" CssClass="cssPageTitle" 
                Text="Kết quả lọc dữ liệu"/>
		</td>
	</tr>
    <tr>
        <td align="center" colspan="4" style="height:450px;" valign="top">
            <asp:GridView ID="m_grv_tien_do_du_an" runat="server" AutoGenerateColumns="False" 
                Width="98%" BackColor="White" BorderColor="#999999" BorderStyle="None" 
                BorderWidth="1px" CellPadding="3" GridLines="Vertical">
                <AlternatingRowStyle BackColor="#DCDCDC" />
                <Columns>
                    <asp:TemplateField HeaderText="STT"></asp:TemplateField>
                    <asp:BoundField DataField="ID_CONG_VIEC_DU_AN" HeaderText="Công việc" />
                   <asp:TemplateField HeaderText="Thành viên">
                    <ItemTemplate> <%# mapping_ten_thanh_vien_by_id(Eval("ID_THANH_VIEN"))%></ItemTemplate>
                   </asp:TemplateField>
                    <asp:BoundField DataField="ID_TRANG_THAI_CONG_VIEC" HeaderText="Trạng thái" />
                    
                    <asp:BoundField DataField="GHI_CHU" HeaderText="Ghi chú" />
                    <asp:TemplateField HeaderText="Xóa"></asp:TemplateField>
                    <asp:TemplateField HeaderText="Sửa"></asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#0000A9" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#000065" />
            </asp:GridView>
        </td>
    </tr>
</table>
</asp:Content>

